package com.zufe.Test1;

public class Test {
    public static void main(String[] args) {
        Round r = new Round(1);
        Rectangle rec = new Rectangle(2, 3);

        System.out.println("圆的周长：" + r.getPerimeter());
        System.out.println("圆的面积：" + r.getArea());

        System.out.println("矩形的周长：" + rec.getPerimeter());
        System.out.println("矩形的面积：" + rec.getArea());
    }
}
